﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AvansRS.Domain;
using FluentNHibernate.Mapping;

namespace AvansRS.Data.Mapping
{
    public class AcademyMap : ClassMap<Academy>
    {
        public AcademyMap()
        {
            Id(x => x.ID);
            Map(x => x.Name);
            HasMany(x => x.Study)
                .Not
                .LazyLoad();
        }

    }
}
